package com.ikun.admin.modules.auth.service;

import com.ikun.admin.modules.auth.eneity.SecurityUser;
import com.ikun.admin.modules.sys.service.UserService;
import com.ikun.common.entity.SecurityUserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName AppAuthService
 * @Description:
 * @CreateDate: 2024/9/2 13:47
 */
@Service
public class AppAuthService {
    @Autowired
    private UserService userService;

    public SecurityUser login(SecurityUserInfo securityUserInfo) {
        SecurityUser securityUser = new SecurityUser();
        //1.查询数据库查看用户是否存在
        //2.不存在 注册
        //3.返回登录信息
        return securityUser;
    }
}
